package com.yoga.dao;

import com.yoga.entity.YogaTradehistory;
import com.yoga.entity.YogaTradehistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YogaTradehistoryDao {
    long countByExample(YogaTradehistoryExample example);

    int deleteByExample(YogaTradehistoryExample example);

    int deleteByPrimaryKey(String trid);

    int insert(YogaTradehistory record);

    int insertSelective(YogaTradehistory record);

    List<YogaTradehistory> selectByExample(YogaTradehistoryExample example);

    YogaTradehistory selectByPrimaryKey(String trid);

    int updateByExampleSelective(@Param("record") YogaTradehistory record, @Param("example") YogaTradehistoryExample example);

    int updateByExample(@Param("record") YogaTradehistory record, @Param("example") YogaTradehistoryExample example);

    int updateByPrimaryKeySelective(YogaTradehistory record);

    int updateByPrimaryKey(YogaTradehistory record);
}